
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title><g:layoutTitle default="CIMS Admin Panel"/></title>

    <!-- Foundation framework -->
    <link rel="stylesheet" href="${resource(dir: 'foundation', file: 'stylesheets/foundation.css')}" />

    <!-- jquery UI -->
    <link rel="stylesheet" href="${resource(dir: 'lib', file: 'jQueryUI/css/Aristo/Aristo.css')}" />

    <!-- main styles -->
    <link rel="stylesheet" href="${resource(dir: 'css', file: 'style.css')}" />

    <!-- Google fonts
    <link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' />
    <link href='http://fonts.googleapis.com/css?family=Terminal+Dosis' rel='stylesheet' />
     -->

    <!-- Favicons and the like (avoid using transparent .png) -->
     <link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon">
    
   

    <script src="${resource(dir: 'js', file: 'jquery.min.js')}"></script>
<script src="${resource(dir: 'lib', file: 'jQueryUI/jquery-ui-1.8.18.custom.min.js')}"></script>
<script src="${resource(dir: 'js', file: 's_scripts.js')}"></script>
<script src="${resource(dir: 'js', file: 'jquery.ui.extend.js')}"></script>
<script src="${resource(dir: 'js', file: 'pertho.js')}"></script>



    <!--[if lt IE 9]>
        <link rel="stylesheet" href="foundation/stylesheets/ie.css">
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  <g:layoutHead/>
  <r:layoutResources />
</head>

<body class="ptrn_a grdnt_a mhover_a">
  <header>
    <div class="container head_s_a">
      <div class="row sepH_b">
        <div class="eight columns">
          <div class="row">
            <div class="three phone-two columns">
              <div id="logo">
                <img src="${resource(dir: 'img', file: 'logo.png')}" alt="Pertho Admin" /> 
                
              </div>
            </div>
            <div id="logoName" style="float: left;margin-top: 20px;"><h3>北京开放大学课程信息管理系统</h3></div> 
            <div id="termName" style="float: left;margin-top: 35px;margin-left:15px"><h6>当前学期：<font color="red">${session.currentTerm}</font></h6></div> 
          </div>
        </div>
        <div class="four columns">
          <div class="user_box cf">
            <div class="user_avatar">
              <img src="${resource(dir: 'img', file: 'user_female.png')}" alt="" />
            </div>
            <div class="user_info user_sep">
              <shiro:user> 
                <p class="sepH_a">
                  <strong><shiro:principal/></strong>
                  <strong>${session.role.name}</strong>
                </p>
                <span>
                  <a href="${createLink(uri: '/auth/changePassword')}" class="sep">修改密码</a>
                  <a href="${createLink(uri: '/auth/signOut')}">退出</a>
                </span>
              </shiro:user> 
              <shiro:notUser> 
                <p class="sepH_a">
                  游客
                </p>
                <span>
                  <a href="${createLink(uri: '/auth/login')}" >登录</a> 
                  <a href="${createLink(uri: '/auth/reg')}" >注册</a> 
                </span>
              </shiro:notUser> 
            </div>

          </div>
        </div>
      </div>
      <div class="row">
        <div class="twelve columns">
          <nav id="smoothmenu_h" class="ddsmoothmenu">
            <ul class="cf">
              <li><a href="${createLink(uri: '/')}" class="mb_parent first_el selected">首页</a></li>
              <li>
                <a href="javascript:void(0)" class="mb_parent">维护开设课程</a>
                <ul style="display:none">
                 
                  <li><a href="${createLink(controller:'CourseRule',action:'upload')}">导入专业规则适用年度</a></li>
                 
                  <li><a href="${createLink(controller:'CourseRule',action:'list')}">专业规则适用年度查询</a></li>
                  <li><a href="${createLink(controller:'Course',action:'upload')}">导入课程总表</a></li>
                  <li><a href="${createLink(controller:'Course',action:'uploadNew')}"> 导入统招高职类型课程</a></li>
                  <li><a href="${createLink(controller:'Course',action:'list')}">课程管理</a></li>
                  <li><a href="${createLink(controller:'Course',action:'publish')}">发布课程</a></li>
                   <shiro:hasPermission permission="CourseRule:*"> </shiro:hasPermission>
                  <li><a href="${createLink(controller:'Course',action:'pick')}">选课</a></li>
                  <li><a href="${createLink(controller:'BranchCourse',action:'list')}">选课管理</a></li>
                  <li><a href="${createLink(controller:'Course',action:'job')}">招聘/分配责任教师</a></li>
                </ul>
              </li>
              <li>
                <a href="javascript:void(0)" class="mb_parent">查询统计</a>
                <ul style="display:none">
                  <li><a href="${createLink(controller:'BranchCourse',action:'list')}">选课查询</a></li>
                   <li><a href="${createLink(controller:'Course',action:'queryList')}">课程查询</a></li>
                  <li><a href="${createLink(controller:'Course',action:'noTeacherList')}">无责任教师课程查询</a></li>
                  <!--
                  <li><a href="${createLink(controller:'UserBaseinfo',action:'noCourseList')}">无课程教师查询</a></li>
                  -->
                  <li><a href="${createLink(controller:'UserBaseinfo',action:'assignList')}">聘任情况查询</a></li>
                  <li><a href="${createLink(controller:'Course',action:'resourceList')}">导出资源大表</a></li>

                </ul>
              </li>  
              <li>
                <a href="javascript:void(0)" class="mb_parent">教师管理</a>
                <ul style="display:none">
                   <li><a href="${createLink(controller:'UserBaseinfo',action:'group')}">教师用户分组</a></li>
                  <li><a href="${createLink(controller:'UserBaseinfo',action:'export')}">教师信息获取</a></li>
                  <li><a href="${createLink(controller:'UserBaseinfo',action:'list')}">教师简历查看</a></li>
                  <li><a href="${createLink(controller:'Job',action:'apply')}">竞聘课程管理</a></li>
                 
                  
                  <li><a href="${createLink(controller:'UserBaseinfo',action:'edit')}">维护个人简历</a></li>

                </ul>
              </li>
              <li>
                <a href="javascript:void(0)" class="mb_parent">系统维护</a>
                <ul style="display:none">
                  <li><a href="${createLink(controller:'ShiroRole',action:'list')}">角色管理</a></li>
                  <li><a href="${createLink(controller:'ShiroUser',action:'list')}">用户管理</a></li>
                  <li><a href="${createLink(controller:'UserGroup',action:'list')}">用户分组管理</a></li>
                  <li><a href="${createLink(controller:'Branch',action:'list')}">分校管理</a></li>
                  <li><a href="${createLink(controller:'Department',action:'list')}">系部管理</a></li>
                  <!--
                  <shiro:hasPermission permission="Permission:*"> 
                  <li><a href="${createLink(controller:'Permission',action:'list')}">功能设置</a></li>
                  </shiro:hasPermission>
                  -->
                  <li><a href="${createLink(controller:'Config',action:'list')}">参数设置</a></li>
                </ul>
              </li>
            </ul>
          </nav>
          <!--
             <ul id="breadcrumbs" class="cf">
                     <li>你的位置:</li>
                     <li><a href="#">课程</a></li>
                     <li><a href="#"></a></li>
                     <li><span>Lorem Ipsum&hellip;</span></li>
             </ul>
          -->
        </div>
      </div>
    </div>

  </header>

<g:layoutBody/>
<footer  id="footer">
  <div class="row">
    <div class="twelve columns">
      Copyright &copy; 2012  北京广播电视大学 All Rights Reserved.
       <span class="fr notification info_bg">V2.2</span>
    </div>
   
  </div>
</footer>
<div class="footer" role="contentinfo"></div>
<div id="spinner" class="spinner" style="display:none;"><g:message code="spinner.alt" default="Loading&hellip;"/></div>
<g:javascript library="application"/>
<r:layoutResources />
<!--
<div class="sw_width">
  <img class="sw_full" title="switch to full width" alt="" src="${resource(dir: 'img', file: 'blank.gif')}" />
  <img style="display:none" class="sw_fixed" title="switch to fixed width (980px)" alt="" src="${resource(dir: 'img', file: 'blank.gif')}" />
</div>
-->


<script>
        $(document).ready(function() {
                //* common functions
               
                prth_common.init();
                 $('.container > .row').css('max-width', '100%');
               
        });
</script>
</body>
</html>
